//
//  dvdModel.m
//  xiaorizi
//
//  Created by kun on 15/10/23.
//  Copyright © 2015年 origin. All rights reserved.
//

#import "dvdModel.h"

@implementation DvdModel

+(DvdModel *)initWithDic:(NSDictionary *)dic
{
    return [[self alloc]initWithDic:dic];
}
-(DvdModel *)initWithDic:(NSDictionary *)dic
{
    
    if(self =  [super init])
    {
        self.titles = dic[@"title"];
        self.themeurl = dic[@"themeurl"];
        self.img = dic[@"img"];
        self.text = dic[@"text"];
        self.keywords = dic[@"keywords"];
        self.begin_time = dic[@"begin_time"];
        self.ID = dic[@"id"];
    }
    
    return self;
}

@end
